The reason for the document level charge, expressed as text.
請求書レベルの追加請求の理由をテキストで表現。


About

Syntax binding
ubl:Invoice / cac:AllowanceCharge / cbc:AllowanceChargeReason
Restricted Syntax Cardinality
0..1
Example
改修
UBL 2.1
XPath
/ Invoice / cac:AllowanceCharge [ cbc:ChargeIndicator = true() ] / cbc:AllowanceChargeReason
Occurrence
0..n
Datatype
TextType
UBL Definition
The reason for this allowance or charge.
Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2

Semantic

Business Term

Document level charge reason

請求書レベルの追加請求の理由
ID
ibt-104
Description
The reason for the document level charge, expressed as text.
請求書レベルの追加請求の理由をテキストで表現。
Aligned Cardinality
0..1
Semantic datatype
Text

VERSION 1.0 RULE

Unchanged
Same as 0.9.3

VERSION 0.9.3 RULE
JP PINT 0.9.3 Shared rule
ibr-038(fatal)
Unchanged
Same as 0.9.2

VERSION 0.9.2 RULE
JP PINT 0.9.2 Shared rule
ibr-038(fatal)
Still valid
[ibr-038]-Each Document level charge (ibg-21) MUST have a Document level charge reason (ibt-104) or a Document level charge reason code (ibt-105).
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)

VERSION 0.9.1 RULES
Obsoleted
Shared rules (0.9.1)
ibr-038 (fatal)
[ibr-038]-Each Document level charge (ibg-21) MUST have a Document level charge reason (ibt-104) or a Document level charge reason code (ibt-105).
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)
ibr-sr-31 (fatal)
[ibr-sr-31]-Document level charge reason (ibt-104) MUST occur maximum once
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
test
(count(cbc:AllowanceChargeReason) <= 1)

JP PINT 0.9 RULES
Obsoleted
Shared Rules (0.9)
ibr-38(fatal)
[ibr-38]-Each Document level charge (ibg-21) shall have a Document level charge reason (ibt-104) or a Document level charge reason code (ibt-105).
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)

PEPPOL BIS BILLING 3.0 RULES
EN16931 model bound to UBL rules
BR-38 (fatal)
Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105).
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)
BR-CO-06 (fatal)
Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge.
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
test
true()
BR-CO-22 (fatal)
Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both.
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)